// ********************************************************************************************
// Este archivo fuente es propiedad de Feria de Remates S.R.L. de C.V. Prohibida su copia o uso
// sin autorización explícita.
// This source file is propietary to Feria de Remates S.R.L. de C.V. May not be used or copied
// without explicit authorization.
// ********************************************************************************************/
package com.feriaderemates.dao.listing;

import com.feriaderemates.domain.listing.AuctionListing;

/**
 *
 * @author Oscar García
 */
public interface AuctionListingDaoInterface {

    /**
     * Adds an auction listing. Inserts all its fields except:
     * numberOfBids and currentPrice
     *
     * @param listing the listing to ad
     */
    public void addAuctionListing(AuctionListing listing);

    /**
     * Updates an auction listing. Updates all its fields except:
     * numberOfBids and currentPrice
     *
     * @param listing the listing to update
     */
    public void updateAuctionListing(AuctionListing listing);
}
